package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实验业务对象 pt_exp
 *
 * @author ruoyi
 * @date 2022-03-26
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("实验业务对象")
public class PtSysExpBo extends BaseEntity {

    /**
     *
     */
    @ApiModelProperty(value = "", required = true)
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 实验名称
     */
    @ApiModelProperty(value = "实验名称", required = true)
    @NotBlank(message = "实验名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String expName;

    /**
     * 实验内容pdf
     */
    @ApiModelProperty(value = "实验内容pdf", required = true)
    private String pdfUrl;

    /**
     * 0正常 1删除
     */
    @ApiModelProperty(value = "0正常 1删除", required = true)
    private String status;


}
